package cn.com.jonpad.demo06_simple_project.bean;

import lombok.Data;

@Data
public class ResponseInfo <T>{
	private long resultCode;
	private String message;
	private T responseBody;
	private String exceptionMsg;

	public static ResponseInfo getEntity(Object responseBody){
		ResponseInfo info = new ResponseInfo();
		info.setResponseBody(responseBody);
		return info;
	}
}
